//---------------------------------------------------------------------------
#ifndef DPGFatH
#define DPGFatH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "DialPad.h"
#include "PHDS.h"
#include <ExtCtrls.hpp>
#include <Buttons.hpp>
#include "PHEdit.h"
#include "PHLabel.h"
#include "PHCombo.h"
#include "PHCheck.h"
#include "DIALPAD.h"

//---------------------------------------------------------------------------
class TDPGFat1 : public TDiPad
{
__published:  // IDE-managed Components
  TBitBtn*  BitBtn1;
  TBitBtn*  BitBtn2;
  PHLabel*  PHLabel3;
  PHEdit*  PHEdit3;
 PHLabel *PHLabel1;
 PHComboBox *PHComboBox1;
 PHLabel *PHLabel2;
 PHEdit *PHEdit1;
 TBevel *Bevel1;
 PHCheckBox *PHCheckBox1;
 TGroupBox *GroupBox2;
 TLabel *Label2;
 TBitBtn *BitBtn3;
 PHDataSource *DSContratos;
  void __fastcall BitBtn1Click( TObject* Sender );
  void __fastcall FormShow( TObject* Sender );
 void __fastcall BitBtn3Click(TObject *Sender);
 void __fastcall FormDestroy(TObject *Sender);
 void __fastcall DSContratosAfterOpen(TObject *Sender);
private: // User declarations
  bool __fastcall GeraLista(void);
  struct MVCTR *Contr;
  unsigned long DataGeracao;
public:  // User declarations
  __fastcall TDPGFat1( TComponent* Owner );
  bool Confirmou;
  int MesAno;
  int Vencimento;
  int Emissao;
  short OpcaoProc;
  bool GerarFaturamentosBrancos;
  TStringList *ListaContratos;
};

//---------------------------------------------------------------------------
extern PACKAGE TDPGFat1*  DPGFat1;

//---------------------------------------------------------------------------
#endif

